﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataLayer;
using MySql.Data.MySqlClient;

namespace ConsoleApplication1 {
    public class Program {
        public static void Main(string[] args) {

            try {

            } catch (Exception general_ex) {
                Console.WriteLine(general_ex.Message);
            } 

            /*try {
                string myConnectionString = "Database=resources;Data Source=localhost;User Id=root;Password=;";
                MySqlConnection conn = new MySqlConnection(myConnectionString);
                conn.Open();

                MySqlCommand comm = new MySqlCommand("INSERT INTO STUDENTS (NAME, SURNAME, USERNAME, SALT, PASSWORDHASH) VALUES (\"faruk\"" +
                    ", NULL, \"fm16259\", \"asd\", \"dsa\");", conn);
                //comm.ExecuteScalar();
                Console.WriteLine(comm.CommandText);
                Console.WriteLine("Success.");
            } catch (MySqlException mysql_ex) {
                Console.WriteLine(mysql_ex.Message);
            }*/
        }

    }
}
